package com.example.doctorstation.Service;

import com.example.doctorstation.POJOData.User;
import com.example.doctorstation.POJOMapper.UserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author Victoria-Al
 * @date 2021-05-06
 * 描述：
 **/
@Service
public class UserServiceImpl {
    @Resource
    private UserMapper userMapper;

    public User findByUserName(String userName) {
        return userMapper.findByUserName(userName);
    }
}
